package com.itheima.service.impl;

import com.itheima.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Service
@RequestMapping("/userservice")
public class UserServiceImpl implements UserService {
    @ResponseBody // 把返回的数据当做数据处理  不会当成页面处理  请求体
    @RequestMapping("/save")  // 响应映射的名字
    public void save() {
        System.out.println("UserServiceImpl  show()  ... ");
    }
}
